// onebotv11 websocket协议处理

// @ts-ignore
await execute();
// @ts-ignore
async function execute() {
    // let bot_message = ClientUtils.get_client_message_json();
    // console.log(bot_message)
    // if (G.OneBotUtils.is_group_message(bot_message) && G.OneBotUtils.has_group_id(bot_message,1037049599)) {
    //     let first_text = `${bot_message["sender"]["nickname"]}(群): `
    //     let message_text = "";
    //     for (let index = 0; index < bot_message["message"].length; index++) {
    //         let messagei = bot_message["message"][index];
    //         if (messagei["type"] === "text") {
    //             message_text = message_text + messagei["data"]["text"];
    //         }
    //     }``
    //     if(message_text !== "" && message_text !== " "){
    //         G.ChatUtils.send_all_text_chat(first_text + message_text, G.ChatUtils.chat_type_enum.世界[1]);
    //     }
    // }
    // 复读机
    // if (G.OneBotUtils.is_group_message(bot_message) && (G.OneBotUtils.has_group_id(bot_message, 1037049599) || G.OneBotUtils.has_group_id(bot_message, 154213998))) {
    //     G.OneBotUtils.send_ws_group_json_message(bot_message["group_id"], bot_message["message"])
    // }
}